<?php
/**
 * Soar Framework - Lightweight and simple to use PHP Framework
 *
 * Soar is free software and is distributed WITHOUT ANY WARRANTY
 *
 * @package Soar
 * @version 1.0 $Id: bootstrap.php 2 2012-04-06 21:50:33Z shay@shayanderson.com $
 * @copyright Copyright (c) 2012 ShayAnderson.com
 * @license http://www.gnu.org/licenses/gpl.html GPL License
 * @link http://www.shayanderson.com/projects/soar-php-framework.htm
 */

/**
 * Application Bootstrap
 */

/**
 * ==============================================================================
 * Session
 * ==============================================================================
 * Start session
 */
// session_start();


/**
 * ==============================================================================
 * Soar Framework
 * ==============================================================================
 * Include Soar Framework bootstrap
 */
require_once './_app/lib/Soar/soar.bootstrap.php';


/**
 * ==============================================================================
 * Configuration Settings
 * ==============================================================================
 * Set application configuration file(s)
 */
Soar::confFile(SOAR_DIR_BASE . '_app/conf.php');


/**
 * ==============================================================================
 * Autoloading
 * ==============================================================================
 * Set class paths for autoloading
 */
SoarAutoloader::addClassPath(array(
	'_app/mod'
));


/**
 * ==============================================================================
 * View and Template Engine Setup (optional)
 * ==============================================================================
 * Set view and custom template engine if different than default, default is:
 * Soar::setView(new View(new SoarTemplateEngine));
 */
// Soar::setView(new View(new SoarTemplateEngine));


/**
 * ==============================================================================
 * Registry
 * ==============================================================================
 * Set registry object that can be accessed in controller
 */
// $registry = new SoarRegistry();
// $registry->example_param = 'example value';
// Soar::setRegistry($registry);


?>